package com.sunda.spmswms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sunda.spmscommon.ResponseResult;
import com.sunda.spmswms.entity.Workshop;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 车间表 服务类
 * </p>
 *
 * @author Wayne
 * @since 2020-12-15
 */
public interface IWorkshopService extends IService<Workshop> {

    List<Map<String, Object>> getWorkshopList();

    /** 新建车间信息 */
    ResponseResult createWorkshop(String werks, String workshopCode, String workshopNameZh, String workshopNameEn, String workshopDesc, String userId);

    /** 获取车间信息 **/
    Workshop getWorkshopInfo(String werksCode, String workshopCode);
}
